↳ Prolog
↳ PrologToPiTRSProof
average_in_gga(0, 0, 0) → average_out_gga(0, 0, 0)
average_in_gga(0, s(0), 0) → average_out_gga(0, s(0), 0)
average_in_gga(0, s(s(0)), s(0)) → average_out_gga(0, s(s(0)), s(0))
average_in_gga(s(X), Y, Z) → U1_gga(X, Y, Z, average_in_gga(X, s(Y), Z))
average_in_gga(X, s(s(s(Y))), s(Z)) → U2_gga(X, Y, Z, average_in_gga(s(X), Y, Z))
U2_gga(X, Y, Z, average_out_gga(s(X), Y, Z)) → average_out_gga(X, s(s(s(Y))), s(Z))
U1_gga(X, Y, Z, average_out_gga(X, s(Y), Z)) → average_out_gga(s(X), Y, Z)
Infinitary Constructor Rewriting Termination of PiTRS implies Termination of Prolog
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
average_in_gga(0, 0, 0) → average_out_gga(0, 0, 0)
average_in_gga(0, s(0), 0) → average_out_gga(0, s(0), 0)
average_in_gga(0, s(s(0)), s(0)) → average_out_gga(0, s(s(0)), s(0))
average_in_gga(s(X), Y, Z) → U1_gga(X, Y, Z, average_in_gga(X, s(Y), Z))
average_in_gga(X, s(s(s(Y))), s(Z)) → U2_gga(X, Y, Z, average_in_gga(s(X), Y, Z))
U2_gga(X, Y, Z, average_out_gga(s(X), Y, Z)) → average_out_gga(X, s(s(s(Y))), s(Z))
U1_gga(X, Y, Z, average_out_gga(X, s(Y), Z)) → average_out_gga(s(X), Y, Z)
AVERAGE_IN_GGA(s(X), Y, Z) → U1_GGA(X, Y, Z, average_in_gga(X, s(Y), Z))
AVERAGE_IN_GGA(s(X), Y, Z) → AVERAGE_IN_GGA(X, s(Y), Z)
AVERAGE_IN_GGA(X, s(s(s(Y))), s(Z)) → U2_GGA(X, Y, Z, average_in_gga(s(X), Y, Z))
AVERAGE_IN_GGA(X, s(s(s(Y))), s(Z)) → AVERAGE_IN_GGA(s(X), Y, Z)
average_in_gga(0, 0, 0) → average_out_gga(0, 0, 0)
average_in_gga(0, s(0), 0) → average_out_gga(0, s(0), 0)
average_in_gga(0, s(s(0)), s(0)) → average_out_gga(0, s(s(0)), s(0))
average_in_gga(s(X), Y, Z) → U1_gga(X, Y, Z, average_in_gga(X, s(Y), Z))
average_in_gga(X, s(s(s(Y))), s(Z)) → U2_gga(X, Y, Z, average_in_gga(s(X), Y, Z))
U2_gga(X, Y, Z, average_out_gga(s(X), Y, Z)) → average_out_gga(X, s(s(s(Y))), s(Z))
U1_gga(X, Y, Z, average_out_gga(X, s(Y), Z)) → average_out_gga(s(X), Y, Z)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
AVERAGE_IN_GGA(s(X), Y, Z) → U1_GGA(X, Y, Z, average_in_gga(X, s(Y), Z))
AVERAGE_IN_GGA(s(X), Y, Z) → AVERAGE_IN_GGA(X, s(Y), Z)
AVERAGE_IN_GGA(X, s(s(s(Y))), s(Z)) → U2_GGA(X, Y, Z, average_in_gga(s(X), Y, Z))
AVERAGE_IN_GGA(X, s(s(s(Y))), s(Z)) → AVERAGE_IN_GGA(s(X), Y, Z)
average_in_gga(0, 0, 0) → average_out_gga(0, 0, 0)
average_in_gga(0, s(0), 0) → average_out_gga(0, s(0), 0)
average_in_gga(0, s(s(0)), s(0)) → average_out_gga(0, s(s(0)), s(0))
average_in_gga(s(X), Y, Z) → U1_gga(X, Y, Z, average_in_gga(X, s(Y), Z))
average_in_gga(X, s(s(s(Y))), s(Z)) → U2_gga(X, Y, Z, average_in_gga(s(X), Y, Z))
U2_gga(X, Y, Z, average_out_gga(s(X), Y, Z)) → average_out_gga(X, s(s(s(Y))), s(Z))
U1_gga(X, Y, Z, average_out_gga(X, s(Y), Z)) → average_out_gga(s(X), Y, Z)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ PiDP
↳ UsableRulesProof
AVERAGE_IN_GGA(s(X), Y, Z) → AVERAGE_IN_GGA(X, s(Y), Z)
AVERAGE_IN_GGA(X, s(s(s(Y))), s(Z)) → AVERAGE_IN_GGA(s(X), Y, Z)
average_in_gga(0, 0, 0) → average_out_gga(0, 0, 0)
average_in_gga(0, s(0), 0) → average_out_gga(0, s(0), 0)
average_in_gga(0, s(s(0)), s(0)) → average_out_gga(0, s(s(0)), s(0))
average_in_gga(s(X), Y, Z) → U1_gga(X, Y, Z, average_in_gga(X, s(Y), Z))
average_in_gga(X, s(s(s(Y))), s(Z)) → U2_gga(X, Y, Z, average_in_gga(s(X), Y, Z))
U2_gga(X, Y, Z, average_out_gga(s(X), Y, Z)) → average_out_gga(X, s(s(s(Y))), s(Z))
U1_gga(X, Y, Z, average_out_gga(X, s(Y), Z)) → average_out_gga(s(X), Y, Z)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
AVERAGE_IN_GGA(s(X), Y, Z) → AVERAGE_IN_GGA(X, s(Y), Z)
AVERAGE_IN_GGA(X, s(s(s(Y))), s(Z)) → AVERAGE_IN_GGA(s(X), Y, Z)
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ RuleRemovalProof
AVERAGE_IN_GGA(s(X), Y) → AVERAGE_IN_GGA(X, s(Y))
AVERAGE_IN_GGA(X, s(s(s(Y)))) → AVERAGE_IN_GGA(s(X), Y)
AVERAGE_IN_GGA(X, s(s(s(Y)))) → AVERAGE_IN_GGA(s(X), Y)
POL(AVERAGE_IN_GGA(x1, x2)) = 2·x1 + 2·x2
POL(s(x1)) = 1 + x1
↳ Prolog
↳ PrologToPiTRSProof
↳ PiTRS
↳ DependencyPairsProof
↳ PiDP
↳ DependencyGraphProof
↳ PiDP
↳ UsableRulesProof
↳ PiDP
↳ PiDPToQDPProof
↳ QDP
↳ RuleRemovalProof
↳ QDP
↳ QDPSizeChangeProof
AVERAGE_IN_GGA(s(X), Y) → AVERAGE_IN_GGA(X, s(Y))
From the DPs we obtained the following set of size-change graphs: